// 收益分析
import React, { PureComponent } from 'react';
import PortfolioAnalysis from './portfolioAnalysis'; // 收益分解+超额趋势
import FactorInfo from './factorInfo'; // 因子收益贡献
import StocksAnalysis from './stocksAnalysis'; // 因子收益贡献

export default class IncomeAnalysis extends PureComponent {
  static defaultProps = {
    onRef: () => {}, // 本组件的引用
  };
  constructor(props) {
    super(props);
    this.state = {};
  }
  componentDidMount() {}

  UNSAFE_componentWillReceiveProps() {}

  render() {
    const { searchData } = this.props;
    return (
      <div>
        <PortfolioAnalysis searchData={searchData} />
        <FactorInfo searchData={searchData} />
        <StocksAnalysis searchData={searchData} />
      </div>
    );
  }
}
